home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / v cisle / sadanastroju / lightning-0.8-tb-win.xpi / chrome / calendar.jar / content / calendar / sun-calendar-event-dialog-attendees.xul < prev    next >
Extensible Markup Language  |  2007-09-24  |  8KB  |  195 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is Sun Microsystems code.
  16.    -
  17.    - The Initial Developer of the Original Code is Sun Microsystems.
  18.    - Portions created by the Initial Developer are Copyright (C) 2006
  19.    - the Initial Developer. All Rights Reserved.
  20.    -
  21.    - Contributor(s):
  22.    -   Michael Buettner <michael.buettner@sun.com>
  23.    -
  24.    - Alternatively, the contents of this file may be used under the terms of
  25.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  26.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.    - in which case the provisions of the GPL or the LGPL are applicable instead
  28.    - of those above. If you wish to allow use of your version of this file only
  29.    - under the terms of either the GPL or the LGPL, and not to allow others to
  30.    - use your version of this file under the terms of the MPL, indicate your
  31.    - decision by deleting the provisions above and replace them with the notice
  32.    - and other provisions required by the GPL or the LGPL. If you do not delete
  33.    - the provisions above, a recipient may use your version of this file under
  34.    - the terms of any one of the MPL, the GPL or the LGPL.
  35.    -
  36.    - ***** END LICENSE BLOCK ***** -->
  37.  
  38. <?xml-stylesheet type="text/css" href="chrome://global/skin/global.css"?>
  39. <?xml-stylesheet type="text/css" href="chrome://calendar/skin/sun-calendar-event-dialog.css"?>
  40. <?xml-stylesheet type="text/css" href="chrome://calendar/content/sun-calendar-event-dialog.css"?>
  41. <?xml-stylesheet type="text/css" href="chrome://calendar/content/datetimepickers/datetimepickers.css"?>
  42.  
  43. <!DOCTYPE dialog [
  44.   <!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd1;
  45.   <!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/sun-calendar-event-dialog.dtd" > %dtd2;
  46.   <!ENTITY % calendar-event-dialogDTD SYSTEM "chrome://calendar/locale/calendar-event-dialog.dtd"> %calendar-event-dialogDTD;
  47. ]>
  48.  
  49. <dialog id="sun-calendar-event-dialog-attendees"
  50.         title="&invite.title.label;"
  51.         onload="onLoad()"
  52.         ondialogaccept="return onAccept();"
  53.         ondialogcancel="return onCancel();"
  54.         persist="screenX screenY"
  55.         style="padding: 8px 10px 10px 8px;"
  56.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  57.  
  58.   <!-- Javascript includes -->
  59.   <script type="application/x-javascript" src="chrome://calendar/content/sun-calendar-event-dialog-attendees.js"/>
  60.   <script type="application/x-javascript" src="chrome://calendar/content/calendar-dialog-utils.js"/>
  61.   <script type="application/x-javascript" src="chrome://calendar/content/calUtils.js"/>
  62.  
  63.   <box orient="vertical" flex="1">
  64.     <box orient="horizontal" align="center" pack="end">
  65.       <spacer flex="1"/>
  66.       <label value="&event.freebusy.suggest.slot;"/>
  67.       <button label="&event.freebusy.previous.slot;"
  68.               dir="normal"
  69.               class="left-icon"
  70.               id="previous-slot"
  71.               oncommand="onPreviousSlot();"/>
  72.       <button label="&event.freebusy.next.slot;"
  73.               dir="reverse"
  74.               class="right-icon"
  75.               id="next-slot"
  76.               oncommand="onNextSlot();"/>
  77.       <spacer style="width: 10em"/>
  78.       <label value="&event.freebusy.zoom;" control="zoom-menulist"/>
  79.       <image class="zoom-out-icon"/>
  80.       <menulist id="zoom-menulist"
  81.                 oncommand="onZoomFactor(this.value);">
  82.         <menupopup>
  83.           <menuitem label="400%" value="25"/>
  84.           <menuitem label="200%" value="50"/>
  85.           <menuitem label="100%" value="100"/>
  86.           <menuitem label="50%" value="200"/>
  87.           <menuitem label="25%" value="400"/>
  88.         </menupopup>
  89.       </menulist>
  90.       <image class="zoom-in-icon"/>
  91.     </box>
  92.     <box orient="horizontal" flex="1">
  93.       <box orient="vertical" flex="1">
  94.         <box class="attendee-spacer-top"/>
  95.         <attendees-list flex="1" id="attendees-list"/>
  96.         <box class="attendee-spacer-bottom"/>
  97.       </box>
  98.       <splitter id="splitter"/>
  99.       <box orient="vertical">
  100.         <stack flex="1">
  101.           <box orient="vertical" flex="1">
  102.             <freebusy-timebar id="timebar"
  103.                               range="16"/>
  104.             <freebusy-grid flex="1"
  105.                            id="freebusy-grid"
  106.                            range="16"/>
  107.           </box>
  108.           <selection-bar id="selection-bar"
  109.                          range="16"/>
  110.         </stack>
  111.         <scrollbar orient="horizontal"
  112.                    id="horizontal-scrollbar"
  113.                    maxpos="100"/>
  114.       </box>
  115.       <box orient="vertical"
  116.            id="vertical-scrollbar-box"
  117.            collapsed="true">
  118.         <box class="attendee-spacer-top"/>
  119.         <scrollbar orient="vertical"
  120.                    flex="1"
  121.                    id="vertical-scrollbar"
  122.                    maxpos="100"/>
  123.         <box class="attendee-spacer-bottom"/>
  124.       </box>
  125.     </box>
  126.     <box orient="horizontal">
  127.       <box orient="vertical" flex="1">
  128.         <box orient="horizontal" align="center">
  129.           <box class="legend" status="FREE"/>
  130.           <label value="&event.freebusy.legend.free;"/>
  131.         </box>
  132.         <box orient="horizontal" align="center">
  133.           <box class="legend" status="BUSY"/>
  134.           <label value="&event.freebusy.legend.busy;"/>
  135.         </box>
  136.         <box orient="horizontal" align="center">
  137.           <box class="legend" status="UNKNOWN"/>
  138.           <label value="&event.freebusy.legend.unknown;"/>
  139.         </box>
  140.         <box orient="horizontal">
  141.           <button label="&event.freebusy.minus;"
  142.                   oncommand="onMinus();"/>
  143.           <button label="&event.freebusy.plus;"
  144.                   oncommand="onPlus();"/>
  145.         </box>
  146.         <box orient="horizontal" collapsed="true">
  147.           <label value="&event.organizer.label;" disabled="true" control="event-organizer"/>
  148.           <textbox id="event-organizer"
  149.                    disabled="true"
  150.                    flex="true"/>
  151.         </box>
  152.       </box>
  153.       <grid>
  154.         <columns>
  155.           <column/>
  156.           <column flex="1"/>
  157.         </columns>
  158.         <rows>
  159.           <row align="center">
  160.             <spacer/>
  161.             <checkbox id="all-day"
  162.                       oncommand="changeAllDay();"
  163.                       label="&event.alldayevent.label;"/>
  164.           </row>
  165.           <row align="center">
  166.             <label value="&newevent.from.label;" control="event-starttime"/>
  167.             <datetimepicker id="event-starttime"
  168.                             onchange="updateStartTime();"/>
  169.             <label id="timezone-starttime"
  170.                    crop="right"
  171.                    class="text-link"
  172.                    flex="1"
  173.                    collapsed="true"
  174.                    hyperlink="true"
  175.                    onclick="editStartTimezone()"/>
  176.           </row>
  177.           <row align="center">
  178.             <label value="&newevent.to.label;" control="event-endtime"/>
  179.             <datetimepicker id="event-endtime"
  180.                             onchange="updateEndTime();"/>
  181.             <label id="timezone-endtime"
  182.                    crop="right"
  183.                    class="text-link"
  184.                    flex="1"
  185.                    collapsed="true"
  186.                    hyperlink="true"
  187.                    onclick="editEndTimezone()"/>
  188.           </row>
  189.         </rows>
  190.       </grid>
  191.     </box>
  192.     <separator class="groove"/>
  193.   </box>
  194. </dialog>
  195.